/**
 * 自动生成！请勿修改！
 */
import { command } from '../core/command';

class Oven {
    constructor(opt = {}) {
        const { device, to, ...opts } = opt;

        this.device = device || {};
        this.opts = opts || {};
        this._to = to;
    }

    get categoryCode() {
        return '010050016';
    }

    get categoryName() {
        return '\u70e4\u7bb1';
    }

    getChildLockSwitch(params) {
        return command({
            method: 'getChildLockSwitch',
            methodId: 'pz93w9uW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getCookingTime(params) {
        return command({
            method: 'getCookingTime',
            methodId: 'pXZusKtE',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDoorStatus(params) {
        return command({
            method: 'getDoorStatus',
            methodId: 'pNnZJ74n',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDownTubeTemp(params) {
        return command({
            method: 'getDownTubeTemp',
            methodId: 'pkpDAEmR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMode(params) {
        return command({
            method: 'getMode',
            methodId: 'pj7xclB9',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getPreheat(params) {
        return command({
            method: 'getPreheat',
            methodId: 'p3deZDro',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getRemainTime(params) {
        return command({
            method: 'getRemainTime',
            methodId: 'p0cr5n2z',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSwitch(params) {
        return command({
            method: 'getSwitch',
            methodId: 'pqYwvabM',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getTemp(params) {
        return command({
            method: 'getTemp',
            methodId: 'UnfcCtUl',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getUpTubeTemp(params) {
        return command({
            method: 'getUpTubeTemp',
            methodId: 'pBTQ0MiI',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWorkStatus(params) {
        return command({
            method: 'getWorkStatus',
            methodId: 'pWG0dXLK',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setChildLockSwitch(params) {
        return command({
            method: 'setChildLockSwitch',
            methodId: 'pGoxpVY3',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setContinue(params) {
        return command({
            method: 'setContinue',
            methodId: 'pdN7VY31',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setCookingTime(params) {
        return command({
            method: 'setCookingTime',
            methodId: 'pDrhgJOx',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDownTubeTemp(params) {
        return command({
            method: 'setDownTubeTemp',
            methodId: 'pZgRrSgV',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMode(params) {
        return command({
            method: 'setMode',
            methodId: 'pgh0u27b',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setPause(params) {
        return command({
            method: 'setPause',
            methodId: 'peH3bdbZ',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setPreheat(params) {
        return command({
            method: 'setPreheat',
            methodId: 'pUPQLLUS',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setStart(params) {
        return command({
            method: 'setStart',
            methodId: 'ptRSxc1k',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setStop(params) {
        return command({
            method: 'setStop',
            methodId: 'ppAX3ZLL',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSwitch(params) {
        return command({
            method: 'setSwitch',
            methodId: 'phEqY8Eq',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setUpTubeTemp(params) {
        return command({
            method: 'setUpTubeTemp',
            methodId: 'p1vZQ3NG',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }
}

export default Oven;
